﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
    <link href="../themes/bootstrap/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <script src="../Jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="../Jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
</head>
<body>
    <div>
        <fieldset style="border-color:#b0e0f8;">
            <legend>查找会员</legend>
            <table>
                <tr>
                    <td>
                        卡号/手机：
                        <input type="text" id="txtTel" class="easyui-textbox" />
                        <a id="btnSelect" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',toggle:true">查询</a>
                </tr>
                <tr>
                    <td>
                        姓名:
                        <p id="Name"></p>
                    </td>
                    <td>
                        等级：
                        <p id="grade"></p>
                    </td>
                </tr>
                <tr>
                    <td>
                        当期积分:
                        <p id="integration"></p>
                    </td>
                    <td>
                        累计消费：
                        <p id="consumption"></p>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    <br />
        <div>
            <table id="dg"></table>
            <script>
                $('#dg').datagrid({
                    fitColumns: true,
                    pagination: true,
                    singleSelect: true,
                    rownumbers: true,
                    method: "get",
                    url: '/Json/Exchange.json',
                    columns: [[
                        { field: 'IntegrationID', title: '礼品编号', width: 90 },
                        { field: 'IntegrationCode', title: '礼品代号', width: 90 },
                         { field: 'IntegrationName', title: '礼品名称', width: 90 },
                        { field: 'Integration', title: '所需积分', width: 90 },
                         { field: 'number', title: '礼品数量', width: 90 },
                        { field: 'Remark', title: '备注', width: 90 },
                    ]]
                });
            </script>
        </div>
</body>
</html>
